root { 
    display: block;
}

#footer {
    color: lightgrey;
    text-align: center;
    margin-top: 10px;
}

.contain {
    margin: auto;
}

#content {
    width: 960px;
}

.left-bar {
    margin-top: 20px;
    margin-left: 50px;
    float: left;
    width: 750px;
}

.right-bar {
    margin-top: 20px;
    float: left;
    width: 160px;
}

#header {
    height: 200px;
    margin-bottom: 10px;
    overflow-x: hidden;
}

#body {
    min-height: 1060px;
    box-shadow: 0 0 20px black;
    border-radius: 5px 5px 100px;
}

#footer {
    margin-top: 10px;
}

.first-bar {
    background: url(../imgs/grp.jpg) no-repeat;
    width: 672px;
    height: 290px;
}

.second-bar {
    background: url(../imgs/mvk.jpg) no-repeat;
    width: 672px;
    height: 290px;
}

.pipe {
    width: 700px;
    height: 100px;
    background: url(../imgs/pipe.png) #c1dbef no-repeat;
    position: relative;
    left: -43px;
}

.first-list, .second-list {
    width: 150px;
    height: 160px;
    border: 1px solid #00579b;
    border-radius: 5px;
}

.second-list {
    margin-top: 60px;
}

.first-list {
    margin-top: 140px
}

#grp-fi, #grp-fir, #grp-pi, #mvk-fi, #mvk-fir{
    position: relative;
    height: 60px;
    width: 60px;
    background-color: #d3d1d1;
    border: 1px solid #a1b6f8;
    border-radius: 50%;
}

#grp-fi:hover, #grp-fir:hover, #grp-pi:hover, #mvk-fi:hover, #mvk-fir:hover {
    background-color: #a1b6f8;
}

#grp-fi {
    left: 306px;
    top: 1px;
}

#grp-fir {
    left: 464px;
    top: -124px;
}

#grp-pi {
    left: 148px;
    top: -62px;
}

#mvk-fi{
    left: 139px;
    top: 77px;
} 

#mvk-fir {
    left: 481px;
    top: 16px;
}

.grp-menu {
    margin-left: 8px;
}

.menu-item {
    width: 135px;
}

.head {
    margin-left: 8px;
    margin-top: 10px;
}

.sub-menu-item {
    margin: 5px 5px 0 5px;
}

.p-meas {
    position: relative;
    left: -48px;
    top: 290px;
}

.inputs {
    width: 455px;
    height: 335px;
    float: left;
}

.inputs form {
    margin: 0 5px 0 5px;
    width: 360px;
}

.inputs form label {
    float: left;
    display: block;
    width: 35px;
    margin-right: 3px;
}

.inputs form input {
    width: 300px;
}

.input-textarea {
    width: 300px;
    height: 80px;
}

.btn-go {
    position: relative;
    left: 371px;
    top: -41px;
}

.outputs {
    float: left;
    border-radius: 5px;
    border: 1px solid #a1b6f8;
    width: 380px;
    height: 330px;
    background-color: #dee7ee;
}

.output-header {
    position: relative;
    top: -23px;
    left: 0px;
    height: 100px;
    width: 250px;
}

.output-header span {
    margin-right: 35px;
}

.output-column {
    float: left;
    width: 70px;
    margin-left: 2px;
}

.columns {
    width: 100%;
    height: 250px;
    border-bottom: 1px solid #000;
    overflow-x: hidden;
    position: relative;
    top: -101px;
}

.result {
    overflow-x: hidden;
    height: 75px;
    position: relative;
    top: -98px;
}

.btn-new-windov {
    position: relative;
    top: 1px;
    left: 1px;
    top: 122px;
    left: -55px;
}

.result-head {
    display: none;
}

.err {
    margin-bottom: 0;
    padding: 0;
}

.device-name {
    position: relative;
    top: -38px;
    width: 154px;
    left: -40px;
}

.device-type {
    font-size: 26px;
    font-style: italic;
    position: absolute;
    top: 18px;
    left: 15px;
}

#grp-b1, #mvk-b1, #mvk-b2 {
    width: 50px;
    height: 50px;
    background-color: white;
    position: relative;
    top: 33px;
    left: 1px;
}

#grp-b2 {
    width: 50px;
    height: 50px;
    background-color: white;
    position: relative;
    top: -14px;
    left: 621px;
}

#mvk-b1 {
    top: -101px;
    left: 5px;
}

#mvk-b2 {
    top: -151px;
    left: 618px;
}